* xfns.c (x_make_gc): After building the GC's for the frame, call
authorJim Blandy <jimb@redhat.com>
Mon, 10 May 1993 00:25:40 +0000 (00:25 +0000)
committerJim Blandy <jimb@redhat.com>
Mon, 10 May 1993 00:25:40 +0000 (00:25 +0000)
init_frame_faces to set up the first two faces.
* xfaces.c (init_frame_faces): Don't just try to copy the default
and mode line faces from some other random frame; instead, consult
the normal_gc and reverse_gc members of the frame, and build the
faces based on their parameters.

src/xfns.c

index 3aa9b117dab140462a607d84eabffb6025134f37..a02e20de41990f1508c493a64bb7eec550fef2b9 100644 (file)
@@ -1796,6 +1796,8 @@ x_make_gc (f)
        f->display.x->background_pixel,
        DefaultDepth (x_current_display, XDefaultScreen (x_current_display))));
 
+  init_frame_faces (f);
+
   UNBLOCK_INPUT;
 }
 #endif /* HAVE_X11 */